﻿namespace LP
{
    public abstract class AbsMgr : CancelTokenPattern, IFixedUpdate, IUpdate, ICanUpdate
    {
        public bool IsUpdate { get; set; } = true;

        public override void OnDestroy()
        {
            base.OnDestroy();
        }

        public virtual void OnFixedUpdate(float delta)
        {
        }

        public override void OnInit()
        {
            base.OnInit();
        }

        public virtual void OnUpdate(float delta)
        {
        }

        public override void OnInitFinish()
        {
            base.OnInitFinish();
        }
    }
}